package com.amazon.ags.api;

public class ServiceResponse
{
  private final ErrorCode error;
  private final AmazonGamesStatus status;

  public ServiceResponse(AmazonGamesStatus paramAmazonGamesStatus, ErrorCode paramErrorCode)
  {
    if (paramAmazonGamesStatus == null)
      throw new IllegalArgumentException("No status reported");
    this.status = paramAmazonGamesStatus;
    this.error = paramErrorCode;
  }

  public final ErrorCode getError()
  {
    return this.error;
  }

  public final AmazonGamesStatus getStatus()
  {
    return this.status;
  }

  public String toString()
  {
    return "ServiceResponse{status=" + this.status + ", error=" + this.error + "}";
  }
}

/* Location:           E:\android\Toy Defense 2_dex2jar.jar
 * Qualified Name:     com.amazon.ags.api.ServiceResponse
 * JD-Core Version:    0.6.2
 */